.class Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter$1;
.super Landroid/widget/Filter;
.source "RecyclerHeadlessAdapter.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter;)V
    .locals 0

    .line 22
    iput-object p1, p0, Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter$1;->this$0:Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter;

    invoke-direct {p0}, Landroid/widget/Filter;-><init>()V

    return-void
.end method


# virtual methods
.method protected performFiltering(Ljava/lang/CharSequence;)Landroid/widget/Filter$FilterResults;
    .locals 2

    .line 26
    new-instance v0, Landroid/widget/Filter$FilterResults;

    invoke-direct {v0}, Landroid/widget/Filter$FilterResults;-><init>()V

    .line 27
    iget-object v1, p0, Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter$1;->this$0:Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter;

    invoke-interface {p1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {v1, p1}, Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter;->access$000(Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter;Ljava/lang/String;)Ljava/util/List;

    move-result-object p1

    iput-object p1, v0, Landroid/widget/Filter$FilterResults;->values:Ljava/lang/Object;

    return-object v0
.end method

.method protected declared-synchronized publishResults(Ljava/lang/CharSequence;Landroid/widget/Filter$FilterResults;)V
    .locals 1

    monitor-enter p0

    .line 33
    :try_start_0
    iget-object v0, p2, Landroid/widget/Filter$FilterResults;->values:Ljava/lang/Object;

    if-nez v0, :cond_0

    .line 34
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p2, Landroid/widget/Filter$FilterResults;->values:Ljava/lang/Object;

    .line 36
    :cond_0
    iget-object v0, p0, Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter$1;->this$0:Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter;

    iget-object p2, p2, Landroid/widget/Filter$FilterResults;->values:Ljava/lang/Object;

    check-cast p2, Ljava/util/List;

    invoke-virtual {v0, p1, p2}, Llt/noframe/gpsfarmguide/utils/RecyclerHeadlessAdapter;->publishFilterResults(Ljava/lang/CharSequence;Ljava/util/List;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 37
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method
